package com.ssm.pojo;

public class Student {
    /**
     * 学号 sid int（10）
     * 	姓名sname string
     * 	手机号sphone
     * 	学院 scollege
     * 	专业 sprofession
     * 	宿舍号 sdormId
     */
    private int sId;
    private String sPassword;
    private String sName;
    private String sPhone;
    private String sCollege;
    private String sProfession;
    private int sDormId;

    @Override
    public String toString() {
        return "Student{" +
                "sId=" + sId +
                ", sPassword='" + sPassword + '\'' +
                ", sName='" + sName + '\'' +
                ", sPhone='" + sPhone + '\'' +
                ", sCollege='" + sCollege + '\'' +
                ", sProfession='" + sProfession + '\'' +
                ", sDormId=" + sDormId +
                '}';
    }

    public Student(int sId, String sPassword, String sName, String sPhone, String sCollege, String sProfession, int sDormId) {
        this.sId = sId;
        this.sPassword = sPassword;
        this.sName = sName;
        this.sPhone = sPhone;
        this.sCollege = sCollege;
        this.sProfession = sProfession;
        this.sDormId = sDormId;
    }

    public Student() {
    }

    public String getsPassword() {
        return sPassword;
    }

    public void setsPassword(String sPassword) {
        this.sPassword = sPassword;
    }

    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getsPhone() {
        return sPhone;
    }

    public void setsPhone(String sPhone) {
        this.sPhone = sPhone;
    }

    public String getsCollege() {
        return sCollege;
    }

    public void setsCollege(String sCollege) {
        this.sCollege = sCollege;
    }

    public String getsProfession() {
        return sProfession;
    }

    public void setsProfession(String sProfession) {
        this.sProfession = sProfession;
    }

    public int getsDormId() {
        return sDormId;
    }

    public void setsDormId(int sDormId) {
        this.sDormId = sDormId;
    }
}
